#include <QObject>
#include "HistoryHelper.h"

class HistoryHandler : public QObject {
public:
    explicit HistoryHandler(QObject* parent = nullptr) : QObject(parent) {}

    const QList<History>& getHistoryList() const { return historyList; }

public slots:
    void recvHistoryMsg(const QByteArray& data);

private:
    QList<History> historyList;
};